This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public async Task<TokenResponse> GetTokenResponse() | |
{ | |
var raw = Task.Run(async () => await SecureStorage.GetAsync(KeyTokenResponse)).Result | |
?? throw new InvalidOperationException($"'{nameof(TokenResponse)}' not found"); | |
using var stream = new MemoryStream(Encoding.UTF8.GetBytes(raw), false); | |
return await JsonSerializer.DeserializeAsync<TokenResponse>(stream) | |
?? throw new InvalidOperationException($"Cannot deserialize '{nameof(TokenResponse)}'"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal class CustomGraphicsView : GraphicsView | |
{ | |
// TODO workaround since binding doesn't work yet on IDrawable/GraphicsView | |
// https://github.com/dotnet/maui/issues/20991 | |
protected override void OnBindingContextChanged() | |
{ | |
base.OnBindingContextChanged(); | |
if (BindingContext is not null) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
const emoteMap = { | |
"monke": "π", | |
"pog": "π²", | |
"pepega": "π§ β", | |
"sadge": "π’", | |
"OMEGALUL": "π€£", | |
"KEKW": "π", | |
"PeepoHappy": "π", | |
"FeelsStrongMan": "πͺ", |
OlderNewer